package routers

import (
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/context/param"
)

func init() {

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "AddBlog",
            Router: "/AddBlog/",
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "DeleteBlog",
            Router: "/DeleteBlog/:id",
            AllowHTTPMethods: []string{"delete"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "GetBlog",
            Router: "/GetBlog/:id",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "GetViewsInWeek",
            Router: "/GetViewsInWeek/",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "UpdateBlog",
            Router: "/UpdateBlog/",
            AllowHTTPMethods: []string{"put"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "GetAllArticle",
            Router: "/getAllArticle/",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "GetAllBlog",
            Router: "/getAllBlog/",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "GetAllBlogViews",
            Router: "/getAllBlogViews/",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "GetAllDraft",
            Router: "/getAllDraft/",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "GetAllLabels",
            Router: "/getAllLabels/",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "GetAllTypes",
            Router: "/getAllTypes/",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "GetBlogByLabel",
            Router: "/getBlogByLabel/:label",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "GetBlogByType",
            Router: "/getBlogByType/:type",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:BlogController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:BlogController"],
        beego.ControllerComments{
            Method: "GetBlogViews",
            Router: "/getBlogViews/:id",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:LinkController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:LinkController"],
        beego.ControllerComments{
            Method: "AddLink",
            Router: "/addLink/",
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:LinkController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:LinkController"],
        beego.ControllerComments{
            Method: "DeleteLink",
            Router: "/deleteLink/:id",
            AllowHTTPMethods: []string{"delete"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:LinkController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:LinkController"],
        beego.ControllerComments{
            Method: "GetAllLink",
            Router: "/getAllLink/",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:LinkController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:LinkController"],
        beego.ControllerComments{
            Method: "GetLink",
            Router: "/getLink/:id",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:LinkController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:LinkController"],
        beego.ControllerComments{
            Method: "UpdateLink",
            Router: "/updateLink/",
            AllowHTTPMethods: []string{"put"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:SignatureController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:SignatureController"],
        beego.ControllerComments{
            Method: "AddSignature",
            Router: "/addSignature/",
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:SignatureController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:SignatureController"],
        beego.ControllerComments{
            Method: "DeleteSignature",
            Router: "/deleteSignature/:id",
            AllowHTTPMethods: []string{"delete"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:SignatureController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:SignatureController"],
        beego.ControllerComments{
            Method: "GetSignature",
            Router: "/getSignature/:id",
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["blogDemo/controllers:SignatureController"] = append(beego.GlobalControllerRouter["blogDemo/controllers:SignatureController"],
        beego.ControllerComments{
            Method: "UpdateSignature",
            Router: "/updateSignature/",
            AllowHTTPMethods: []string{"put"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

}
